home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 19d1.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.4 KB  |  56 lines

  1. on startMovie
  2.   global qtChan
  3.   sprite(13).visible = 0
  4.   puppetSprite(46, 1)
  5.   set the locH of sprite 46 to the mouseH
  6.   set the locV of sprite 46 to the mouseV
  7.   set the mouseDownScript to EMPTY
  8.   set the mouseUpScript to EMPTY
  9. end
  10.  
  11. on idle
  12.   global gCursorReady
  13.   if gCursorReady = 1 then
  14.     cursor(200)
  15.     checkCursors()
  16.     set the locH of sprite 46 to the mouseH
  17.     set the locV of sprite 46 to the mouseV
  18.     updateStage()
  19.   end if
  20. end
  21.  
  22. on checkCursors
  23.   global gMagCursor
  24.   set the castNum of sprite 46 to the number of member "curs1"
  25.   if rollOver(5) then
  26.     set the castNum of sprite 46 to the number of member "hotCursor"
  27.   end if
  28.   if rollOver(6) then
  29.     set the castNum of sprite 46 to the number of member "hotCursor"
  30.   end if
  31.   if rollOver(7) then
  32.     set the castNum of sprite 46 to the number of member "hotCursor"
  33.   end if
  34.   if rollOver(8) then
  35.     set the castNum of sprite 46 to the number of member "curs1"
  36.   end if
  37.   repeat with i = 14 to 19
  38.     if rollOver(i) then
  39.       set the castNum of sprite 46 to the number of member "hotCursor"
  40.     end if
  41.   end repeat
  42.   repeat with i = 33 to 35
  43.     if rollOver(i) then
  44.       set the castNum of sprite 46 to the number of member "hotCursor"
  45.     end if
  46.   end repeat
  47.   if rollOver(38) then
  48.     set the castNum of sprite 46 to the number of member "hotCursor"
  49.   end if
  50.   repeat with i = 40 to 42
  51.     if rollOver(i) then
  52.       set the castNum of sprite 46 to the number of member "hotCursor"
  53.     end if
  54.   end repeat
  55. end
  56.